home *** CD-ROM | disk | FTP | other *** search
/ PC World Interactive 7 / PC World Interactive 7.iso / bb2000 / files / BlueGame.dxr / 00184_locatedFrameScript.ls < prev    next >
Encoding:
Text File  |  1998-02-20  |  790 b   |  28 lines

  1. global gGamesMasterObj, locateBubList, noWayBubList, policeBubList
  2.  
  3. on exitFrame
  4.   cursor(-1)
  5.   toggleFreezeCar(1)
  6.   killBubbles(gGamesMasterObj, noWayBubList)
  7.   killBubbles(gGamesMasterObj, policeBubList)
  8.   createBubble(gGamesMasterObj, "bubbleScript", locateBubList)
  9.   if clearedPolice() then
  10.     customWait(1, 1.5)
  11.     killBubbles(gGamesMasterObj, locateBubList)
  12.     if the nextLoc of gGamesMasterObj > 8 then
  13.       createBubble(gGamesMasterObj, "bubbleScript", locateBubList, "done")
  14.       customWait(1, 4)
  15.     else
  16.       createBubble(gGamesMasterObj, "bubbleScript", locateBubList, "go")
  17.       customWait(1, 1.5)
  18.     end if
  19.     killBubbles(gGamesMasterObj, locateBubList)
  20.     updateStage()
  21.     toggleFreezeCar(0)
  22.     startTimer()
  23.     go("normal")
  24.   else
  25.     go(the frame)
  26.   end if
  27. end
  28.